package com.generator.sysManage.logManage.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @version 1.0
 * @auther wumei
 * @date 2022/10/01
 * 星期六 20:08
 */
@Data
@Component
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Log {

  private Integer jId;  // 日志ID
  private Integer uId; // 员工编号
  private String uName; // 员工姓名
  private String moduleName;  // 操作模块
  private String jcontent;  // 日志内容
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date jdate; // 记录时间


}
